package com.aruba.deptapi.webfeign;

import com.aruba.bean.WDept;
import com.aruba.deptapi.webfeign.fall.DeptFeignFallCallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "aruba-dept", fallback = DeptFeignFallCallback.class)
public interface DeptFeignClient {

    @RequestMapping("/insertDept")
    String insertDept(WDept dept);

}
